package com.forum.dto;

import org.springframework.stereotype.Component;

@Component
public class FollowListDto {
    private Integer id;
    private String name;
    private String desc;     // 用户简介
    private String avatar;
    private Boolean isFollow; // 当前用户是否关注

    // getters & setters
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
    public String getAvatar() {
        return avatar;
    }
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    public Boolean getIsFollow() {
        return isFollow;
    }
    public void setIsFollow(Boolean isFollow) {
        this.isFollow = isFollow;
    }
}
